import os
current_path = os.path.dirname(os.path.abspath(__file__))
# os.environ["PATH"] = os.path.join(current_path, "venv/git/cmd/") + ";" + os.environ["PATH"]
os.environ["TRANSFORMERS_CACHE"] = os.path.join(current_path, "transformers-cache")

from webui import webui

webui()

# from launch import prepare_environment, start
#
# prepare_environment()
# start()
# if __name__ == "__main__":
#     print("__main__")
#     prepare_environment()
#     start()
#     # webui()
#     pass
